using UnityEngine;
using System.Collections;

public class ScreenPress : MonoBehaviour {
	
	public GameObject ActiveObject;
	GameObject Black;
		
	// Use this for initialization
	void Start () {
		
	}
	
	// Update is called once per frame
	void Update () {
		
	}
	
	void StartPress()
	{
		ActiveObject.active = true;
	}
	
	void ScreenClick()
	{
		Black = GameObject.Find("Black");
		Black.GetComponent<CreamFade>().enabled = true;
		GetComponent<Animation>().Play();
	}
		
	void FadeFinish ()
	{
		LoadingManager.LoadingScene("Planet");
	}
}
